-- GENERATED SPELL FOR [Seeping Sludge] --


function spell0_20501(pUnit, Event) --@Seeping Split,Self--
pUnit:FullCastSpellOnTarget(36465,pUnit)
pUnit:RegisterEvent('Sorts_20501', 2500, 1)
end

function Sorts_20501(pUnit, Event)
local choix_sorts_20501 = math.random(0, 0)
if choix_sorts_20501 == 0 then
pUnit:RegisterEvent('spell0_20501', 1, 1)
end
end

function mob20501_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_20501', math.random(1500, 3000), 1)
end

function mob20501_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20501_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20501_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(20501, 1, 'mob20501_Action')
RegisterUnitEvent(20501, 2, 'mob20501_Leave')
RegisterUnitEvent(20501, 3, 'mob20501_Kill')
RegisterUnitEvent(20501, 4, 'mob20501_Die')
